﻿using System;
using CTS.Com.Domain.Attr;

namespace CTS.W._150101.Models.Domain.Object.Admin.Photos
{
    public class PhotoObject
    {
        [OutputText]
        [InputText(RuleName = "code20", MessageParam = "Mã ngôn ngữ")]
        public string LocaleCd { get; set; }
        [OutputText]
        [InputText(RuleName = "code20", MessageParam = "Mã ảnh")]
        public string PhotoCd { get; set; }
        [OutputText]
        [InputText(RuleName = "name", MessageParam = "Tên ảnh")]
        public string PhotoName { get; set; }
        [OutputText]
        [InputText(RuleName = "searchName", MessageParam = "Tên ảnh")]
        public string PhotoSearchName { get; set; }
        [OutputText]
        [InputText(RuleName = "fileCd", MessageParam = "Mã file")]
        public string FileCd { get; set; }
        [OutputText(Format = "{0:N0}")]
        [InputText(RuleName = "sortKey", MessageParam = "Thứ tự")]
        public decimal? SortKey { get; set; }
        [OutputText(Format = "{0:N0}")]
        [InputText(RuleName = "versionNo", MessageParam = "Phiên bản")]
        public decimal? VersionNo { get; set; }
        [OutputText]
        [InputText(RuleName = "boolean", MessageParam = "Trạng thái")]
        public bool? DeleteFlag { get; set; }

        [OutputText]
        public string UpdateUser { get; set; }
        [OutputText(Format = "{0:dd/MM/yyyy HH:mm:ss}")]
        public DateTime? UpdateDate { get; set; }

    }
}
